package com.minimvc.patterns.observer
{
	import com.minimvc.core.SimpleEvent;
	import com.minimvc.interfaces.IFacade;
	import com.minimvc.interfaces.INotifier;
	import com.minimvc.patterns.facade.Facade;
	
	import flash.events.Event;
	
	/**
	 * 发布器;
	 * @author crl
	 * 
	 */	
	[ExcludeClass]
	public class Notifier implements INotifier
	{
		protected var facade:IFacade = Facade.getInstance();
		public function Notifier()
		{
		}
		
		public function simpleDispatch(type:String,data:*=null):Boolean
		{
			return facade.simpleDispatch(type,data);
		}
	}
}